<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>用户</title>
</head>
<body>
<h2>Hello User!</h2>
<input type="text" <c:if test="${not empty test }"> value="${test}"</c:if>>

<a href="${pageContext.request.contextPath}/user/findUserByCondition.do" target="_blank">查看所有用户信息</a>
	<table border="1">
		<tr>
			<td>id</td>
			<td>userName</td>
			<td>fullName</td>
			<td>password</td>
		</tr>
		<c:if test="${not empty userList }">
			<c:forEach var="item" items="${userList}" >
				<tr>
					<td>${item.id}</td>
					<td>${item.userName}</td>
					<td>${item.fullName}</td>
					<td>${item.password}</td>
				</tr>
			</c:forEach>
		</c:if>
	</table>
	


</body>
</html>
